function check(){
	document.getElementById("loginId").select();
	document.getElementById("password").select();
}
function clear() {
	document.getElementById("loginId").value="";
	document.getElementById("password").value="";
}

function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="visible";
}
function hidemenu(elmnt)
{
document.getElementById(elmnt).style.visibility="hidden";
}

function alrt()
{
	alert("Welcome");
}

function showMSADiv() {
	document.getElementById("MSA").style.visibility="visible";
}
function showMSARDiv() {
	document.getElementById("MSAR").style.visibility="visible";
}
function showMTADiv() {

	document.getElementById("MTA").style.visibility="visible";
}
function showMTARDiv() {

	document.getElementById("MTAR").style.visibility="visible";
}
function showStuInfoADiv(){

	document.getElementById("stuInfo").style.visibility="visible";
}
function showReportCard(){

	document.getElementById("reportCard").style.visibility="visible";
}
function showStuAttReport1(){

	document.getElementById("stuAttReport1").style.visibility="visible";
}
function showStuAttReport2(){

	document.getElementById("stuAttReport2").style.visibility="visible";
}
/*function addRow(tableID) {
	 
    var table = document.getElementById(tableID);

    var rowCount = table.rows.length-2;
    var row = table.insertRow(rowCount);

    var cell1 = row.insertCell(0);
    cell1.innerHTML="Grade Name:";
   
    
    var cell2 = row.insertCell(1);
    var element2 = document.createElement("input");
    element2.type = "text";
    cell2.appendChild(element2);
    
    var cell3 = row.insertCell(2);
    cell3.innerHTML="Select Grade:";
    
    var cell4 = row.insertCell(3);
    cell4.innerHTML="<select>"+"<option value="+"select"+">Select"+"</option>"+
    	"<option value="+"40%"+">40%</option>"+
    	"<option value="+"50%"+">50%</option>"+
    	"<option value="+"60%"+">60%</option>"+
    	"<option value="+"70%"+">70%</option>"+
    	"<option value="+"80%"+">80%</option>"+
    	"<option value="+"90%"+">90%</option>"+
    	"<option value="+"100%"+">100%</option>"+    	
    	+"</select>"+
    	"<select>"+"<option value="+"select"+">Select"+"</option>"+
    	"<option value="+"40%"+">40%</option>"+
    	"<option value="+"50%"+">50%</option>"+
    	"<option value="+"60%"+">60%</option>"+
    	"<option value="+"70%"+">70%</option>"+
    	"<option value="+"80%"+">80%</option>"+
    	"<option value="+"90%"+">90%</option>"+
    	"<option value="+"100%"+">100%</option>"+    	
    	+"</select>";
}*/